<#include "macro-head.ftl">
<!DOCTYPE html>
<html>
<head>
<@head title="${appTitle}">
<meta name="keywords" content="${metaKeywords}"/>
<meta name="description" content=""/>
</@head>
</head>
<body>
	<div class="container body-container">
		<#include "admin/header.ftl">
		<div class="row">
			<div class="span3">
				<#include "admin/side.ftl">
			</div>
			<div class="span9">
				<form class="form-horizontal" action="${contextPath}/admin/user/updateUser" method="post">
				<legend>个人资料修改</legend>
				  <div class="control-group">
				    <label class="control-label" for="inputEmail">邮箱</label>
				    <div class="controls">
				      <input type="text" name="email" id="inputEmail" placeholder="网站登录帐号" rel="tooltip" data-placement="right" disabled="" value="<@shiro.principal/>">
				    </div>
				  </div>
				  <div class="control-group">
				    <label class="control-label" for="inputPassword">密码</label>
				    <div class="controls">
				      <input type="password" name="password" id="inputPassword" placeholder="网站登录密码" rel="tooltip" data-placement="right" data-title="密码长度6-14位，字母区分大小写" data-trigger="focus">
				      <span class="help-inline"></span>
				    </div>
				  </div>
				  <div class="control-group">
				    <label class="control-label" for="inputRePassword">确认密码</label>
				    <div class="controls">
				      <input type="password" name="plainPassword" id="inputRePassword" placeholder="再次输入登录密码">
				      <span class="help-inline">${(result["password"])!""}</span>
				    </div>
				  </div>
				  <div class="control-group">
				    <label class="control-label" for="gender">性别</label>
				    <div class="controls">
				    	<select name="gender">
				    		<option value="male">男</option>
				    		<option value="female">女</option>
				    	</select>
				      <span class="help-inline"></span>
				    </div>
				  </div>
				  <div class="control-group">
				    <div class="controls">
				      <button type="submit" class="btn btn-large btn-primary span2">修改</button>
				      <span class="help-inline">${(result["1"])!""}</span>
				    </div>
				  </div>
				</form>
			</div>
		</div>
		<#include "admin/footer.ftl">
	</div>
<script type="text/javascript">
$("#nav-user-up").addClass("active");
</script>
</body>
</html>